import { DIC } from '@/const/dic'
export const tabOption = {
    index:true,
    indexLabel:'序号',
    border: true,
    selection: false,
    menuBtn: true,
    addBtn:false,
    cellBtn: false,
    editBtn: false,
    delBtn: false,
    dicData: DIC,
    size: 'mini',
    columnBtn: false,
    refreshBtn:false,
    align: "center",
    menuAlign: "center",
    menuWidth: 130,
    column: [{
        label: "物品编码",
        prop: "coded",
    },{
        label: "物品名称",
        prop: "name",
    },{
        label: "批次号",
        prop: "batch",
    },{
        label: "规格",
        prop: "specs",
    },{
        label: "单位",
        prop: "unit",
    },{
        label: "库存量",
        prop: "realNum",
    },{
        label: "过期预警库存量",
        prop: "warningNumber",
    },{
        label: "单价(元)",
        prop: "price",
    },{
        label: "总金额(元)",
        prop: "totalPrice",
    },{
        label: "库存预警值",
        prop: "warningNum",
    },{
        label: "过期预警值",
        prop: "warningDay",
    },{
        label: "供应商",
        prop: "supplier",
        slot:true,
    },{
        label: "仓库",
        prop: "warehouse",
        slot:true,
    },{
        label: "生产单位",
        prop: "producers",
    },{
        label: "生产日期",
        prop: "purchasingDate",
    },{
        label: "过期日期",
        prop: "overdueDate",
    }
    ]
};

export const detailedModetabOption = {
    index:true,
    indexLabel:'序号',
    border: true,
    selection: false,
    menuBtn: false,
    menu:false,
    addBtn:false,
    size: 'mini',
    cellBtn: false,
    editBtn: false,
    delBtn: false,
    dicData: DIC,
    columnBtn: false,
    refreshBtn:false,
    align: "center",
    menuAlign: "center",
    column: [{
        label: "供应商",
        prop: "idno",
    },{
        label: "批次号",
        prop: "slot1",
    },{
        label: "生产单位",
        prop: "sbno",
    },{
        label: "生产日期",
        prop: "sbno",
    },{
        label: "过期日期",
        prop: "sbname",
    },{
        label: "物品编号",
        prop: "sbname",
    },{
        label: "物品名称",
        prop: "sbname",
    },{
        label: "规格",
        prop: "sbname",
    },{
        label: "库存量",
        prop: "sbname",
    },{
        label: "预减库存量",
        prop: "sbname",
    },{
        label: "单位",
        prop: "sbname",
    },{
        label: "单价(元)",
        prop: "sbname",
    },{
        label: "总金额(元)",
        prop: "sbname",
    }
    ]
};
